<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 	
		<!--<meta http-equiv="cache-control" content="max-age=0" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
		<meta http-equiv="pragma" content="no-cache" />	-->
		<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">	
		<title>请选择需要的作品</title>	
		<link rel="stylesheet" href="https://cache.amap.com/lbs/static/main1119.css"/>
    	<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.2&key=a27fa7d9acf82da3259a580609af5ced"></script>
    	<script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script>		
		<link rel="stylesheet" href="plug-in/WEUI/css/weui.min.css" />	
		<link rel="stylesheet" href="plug-in/WEUI/css/jquery-weui.min.css" />		
		<link rel="stylesheet" href="css/base.css?version=1.0" />
		<link rel="stylesheet" href="css/worker.css?version=1.0" />
		<link rel="stylesheet" href="css/stylecolor.css?version=1.0" />
	</head>
	<body>	
		<div id="loadtoast">
			<div class="weui-mask_transparent"></div>
			<div class="weui-toast weui_loading_toast weui-toast--visible" >
				<div class="weui_loading">
				<i class="weui-loading weui-icon_toast"></i>
				</div>
				<p class="weui-toast_content">数据加载中</p>
			</div>
			
		</div>
		
		<div class="_fixed uploading hidden" id="loadimgtoast">
			<div class="uploadingbox">
				<div class="la-ball-beat"><i></i><i></i><i></i> </div>
				
			</div>
		</div>
		
		
		<div class="_fixed uploading_round hidden" id="loadimground">
			<div id="caseBlanche">
				<div id="rond">
					<div id="test"></div>
				</div>
				<div id="load">
					<p>loading</p>
				</div>
				</div>
			
			
		</div>
		
		
		
		<div class="worker_con _absolute"><!--作品 --star-->
			<div class="_padding worker_main">
				<div class="crearworker"><!--新建作品 --star-->
					<a href="javascript:;"><span>+</span><span>新建作品</span></a>
				</div><!--新建作品 --end-->
				<div class="show_calendar weui-cells_checkbox">
						<label class="weui-cell weui-check__label" for="show_calendar_input" style="display: none;">
					        <div class="weui-cell__bd show_calendar_bd">
					         <input type="checkbox" name="checkbox1" class="weui-check" id="show_calendar_input">
					          <span class="weui-icon-checked"></span>
					        </div>
					        <div class="weui-cell__ft">	
					          	仅显示月历
					        </div>
					    </label>
				</div>	
				<div class="show_worker vertical_scrolling weui-cells weui-cells_checkbox" id="show_worker"><!--作品列表 --star-->
						
					<div class="workeritem">
						<!--<div class="weui-cells__title workaddtime">2017.09.08</div>	
						<div class="work_itemlist" product_id="1" work_id="1" show_type="1"  print_type="1" status="0">
							<div class="weui-flex">
								<div class="weui-flex__item">
									<div class="placeholder"><img src="img/1.jpg" alt="" /></div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder"><img src="img/1.jpg" alt="" /></div>
								</div>
								<div class="copyyes"><img src="img/yin.png"></div>
							</div>
							<div class="weui-cell fr_work" for="s11">
								<div class="weui-cell__hd">
									<label class=" weui-check__label" for="s11">
								    <input type="checkbox" class="work_input weui-check" name="checkbox1" id="s11">
									<i class="weui-icon-checked"></i>
									</label>
								</div>
								<div class="weui-cell__bd worker_countbox">							        	
									<div class="worker_count"><a href="javascript:;"><img src="img/remove.png"></a><span>1</span><a href="javascript:;"><img src="img/add.png"></a></div>
								</div>
							</div>
						</div>-->
					</div>
					
					<!--<div class="weui-cells__title">没有更多了</div>-->
						
					</div><!--作品列表 --end-->
				<div class="notice_num">已选1张</div>
				<div class="_footer weui-cells weui-cells_checkbox worker_footer ">
					<div class="weui-cell">
						<div class="weui-cell__hd">
						<label class="weui-cell weui-check__label" for="allcopy">
					        <div class="weui-cell__hd">
					          <input type="checkbox" class="weui-check" name="checkbox1" id="allcopy">
					          <i class="weui-icon-checked"></i>				          
					        </div>
					        <div class="weui-cell__bd">全选未印</div>				        
				       </label>
				   	  </div>
				   	   <div class="weui-cell__bd">	
					       <div class="weui-cell worker_btn">
						        <div class="weui-cell__hd">
						         	<a href="javascript:;" class="disablebtn work_del"><i class="weui-icon-delete"></i></a>			          
						        </div>
						        <div class="weui-cell__bd ">			         	
						         	<a href="javascript:;" class="disablebtn share_btn" style="display: none;">分享</a>
						         	<a href="javascript:;" class="disablebtn copy_btn">印制</a>				         	
						        </div>
					       </div>
			       		</div>
			     </div>			       
				</div>
				
				
			</div>
			
			
		</div><!--作品--end-->		
		<div id="card_model_full" class='weui-popup__container'>
			      <div class="weui-popup__overlay"></div>
			      <div class="weui-popup__modal">			      	
			        <h3 class='workmodel-header'>选择您将要制作的模板</h3>
			        <div class='workmodel-header_tips'>选择不再提醒，下次新建为默认模板, 可更换</div>
			       	<section class="workmodel_view weui-cells_radio vertical_scrolling">
			       		<ul>
			       			
			       		</ul>
			       	</section>
			       	<a href="javascript:;" class="notnotice">不再提醒</a>			        
			      </div>
			    </div>
				
		
		<div id="pic_mask" class='weui-popup__container popup-bottom close-popup'><!--版式调整--star-- -->
		      <div class="weui-popup__overlay"><div class="pic_maskbox"><img src="img/share.png"></div></div>
		      <div class="weui-popup__modal">		       
		       	      
		      </div>
		</div><!--版式调整--end-- -->
		
		
		<div class="originalwork _absolute hidden bgf8f8f8"><!--作品生成canvas展示--star-->
			<div class="canvas_head"><i class="weui-icon-info"></i>点击大图进入图片编辑</div>
			<div class="canvasbox" id="originaleditor">
				<canvas id="originalcanvas" width="351" height="386" style="display: none;"></canvas>
			</div>			
			<div class="workpage horizontal_scrolling _padding">
				<div class="pagemain boxflexthree displaywebkit-box" id="pagemain">
					
					
				</div>
			</div>
			<div class="_footer weui-cells original_btn">
				<div class="weui-cell">
					 <div class="weui-cell__hd changebtn">
					 	
					 	<a href="javascript:;" class="changelayout"><i class="fa_text"><img src="img/layout.png"></i><b>更换布局</b></a>
					 	<a href="javascript:;" class="changebg"><i class="fa_text"><img src="img/them.png"></i><b>更换背景</b></a>
					 		
					 </div>
					 <div class="weui-cell__bd">
					 	<a href="javascript:;" class="share_mono" style="display: none;">分享</a>
						<a href="javascript:;" class="save_mono">保存</a>	
					 </div>
				</div>
			</div>		
		</div><!--作品生成canvas展示--end-->
		<div id="editortextarea" class='weui-popup__container popup-bottom'><!--编辑文字--star-- -->
		      <div class="weui-popup__overlay"></div>
		      <div class="weui-popup__modal">		       
		        <div class="text_modal_title weui-cells">		        	
		        	<div class="weui-cell">
						 <div class="weui-cell__hd"><i class="weui-icon-circle fr-dot-circle-o"><i></i></i> 编辑文字<span class="text_area_num">(限制N字以内)</span></div>
						 <div class="weui-cell__bd">
						 	<a href="javascript:;" class="stop-editor close-popup"><i class="weui-icon-cancel"></i></a>							
						 </div>
					</div>
		        </div>
		        <div class="text_modal_area _padding">		        	
					<!--<textarea maxlength="10" rows="5" cols="5" class="area_input" placeholder="请在这里输入文字"  id="textarea_input" onkeyup="formate_unicode(this)" onpaste="formate_unicode(this)" oncontextmenu = "formate_unicode(this)"/></textarea>
					-->
					<textarea  maxlength="10" rows="5" cols="5" class="area_input" placeholder="请在这里输入文字"  id="textarea_input" onchange="formate_unicode(this)" onpaste="formate_unicode(this)" oncontextmenu = "formate_unicode(this)"/></textarea>
					
		        </div>
		         <div class="text_modal_save">	
		         	<a href="javascript:;" class="save_text close-popup">保存</a>
		        </div>
		      </div>
		   </div><!--编辑文字--end-- -->
		
		<div id="half" class='weui-popup__container popup-bottom'><!--版式调整--star-- -->
		      <div class="weui-popup__overlay"></div>
		      <div class="weui-popup__modal">		       
		        <div class="text_modal_title weui-cells">		        	
		        	<div class="weui-cell">
						 <div class="weui-cell__hd">
						 	<div class="layout_tit"><i class="weui-icon-circle fr-dot-circle-o"><i></i></i>更换模板</div>
						 	<div class="layout_sty weui-cells_checkbox hidden">
								<label class="weui-cell weui-check__label" for="layout_vertical">
								    <div class="weui-cell__bd">
								        <input type="checkbox" name="checkbox1" class="weui-check layout_styinput" id="layout_vertical" orientation="0" checked>
								          <span class="weui-icon-checked"></span>
								   </div>
								    <div class="weui-cell__ft">	
								          	竖版
								    </div>
								</label>
								<label class="weui-cell weui-check__label" for="layout_horizontal">
								     <div class="weui-cell__bd">
								        <input type="checkbox" name="checkbox1" class="weui-check layout_styinput" id="layout_horizontal" orientation="1">
								          <span class="weui-icon-checked"></span>
								   </div>
								    <div class="weui-cell__ft">	
								          	横版
								    </div>
								</label>
							</div>
						 </div>
						 <div class="weui-cell__bd">
						 	<a href="javascript:;" class="stop-editor close-popup"><i class="weui-icon-cancel"></i></a>							
						 </div>
					</div>
		        </div>
		        <div class="layout_modal_area _padding_left_4 _overflow">		        	
		        	<div class="layout_type horizontal_scrolling boxflexthree">
		        		<!--<div class="lay_type_item itemflexthree"><img src="img/1.jpg"><div class="lay_type_text">明信片</div></div>
		        		<div class="lay_type_item itemflexthree"><img src="img/1.jpg"><div class="lay_type_text">明信片</div></div>-->
		        	</div>
		        	
					<div class="layout_list_box hidden">
						<div class="back_lay_type"><img src="img/back.png"></div>
						<div class="layout_list horizontal_scrolling hidden boxflexthree"></div>		        		
		        	</div>						
					
		        </div>		         
		      </div>
		    </div><!--版式调整--end-- -->
		
		<div id="bgbox" class='weui-popup__container popup-bottom'><!--更换背景--star-- -->
		      <div class="weui-popup__overlay"></div>
		      <div class="weui-popup__modal">		       
		        <div class="text_modal_title weui-cells">		        	
		        	<div class="weui-cell">
						 <div class="weui-cell__hd"><i class="weui-icon-circle fr-dot-circle-o"><i></i></i>更换背景</div>
						 <div class="weui-cell__bd">
						 	<a href="javascript:;" class="stop-editor close-popup"><i class="weui-icon-cancel"></i></a>							
						 </div>
					</div>
		        </div>
		        <div class="bg_modal_area _padding_left_4 _overflow">		        	
		        	<div class="bg_type horizontal_scrolling boxflexthree">
		        		<!--<div class="bg_type_item itemflexthree"><img src="img/1.jpg"></div>
		        		<div class="bg_type_item itemflexthree"><img src="img/1.jpg"></div>-->
		        	</div>		        			
					
		        </div>		         
		      </div>
		    </div><!--更换背景--end-- -->
			
			<div class="selectdate _fixed " style="opacity: 0;"><!--选日期--star-- -->				
				<div class="selectbox">
					<div class="weui-dialog__hd">
						<strong class="weui-dialog__title ">请选择开始年月<a href="javascript:;" class="date_close hidden"><i class="weui-icon-cancel"></i></a></strong>
						
					</div>
					<div class="weui-dialog__bd">
						<div class="dateinput"><input class="weui-input" id="layoutdate" type="hidden" value=""></div>
						<div class="time-container" id="time-container"></div>
					
					</div>
					<div class="weui-dialog__ft">
						<a href="javascript:;" class="weui-dialog__btn default cancel_date">取消</a>
						<a href="javascript:;" class="weui-dialog__btn primary comfirm_date">确定</a>
					</div>
				</div>
			</div><!--选日期--end-- -->		
		<div id="share_pic_mask" class='weui-popup__container popup-bottom'><!--长按图片可保存到手机或转发好友--star-- -->
		    <div class="weui-popup__overlay"><div class="share_pic_maskbox"><img src="img/longtap.png"></div></div>
		      <div class="weui-popup__modal close-popup">		       
		       	    <div class="share_pic_box ">
		       	    	
		       	    </div>  
		    </div>
		</div><!--长按图片可保存到手机或转发好友--end-- -->
		
		<div id="weather_mask" class='weui-popup__container'><!--一图一记 编辑日期地点信息--star-- -->
		      <div class="weui-popup__overlay"></div>
		      <div class="weui-popup__modal">		       
		       	    <div class="weather_box">
		       	    	<div class="weui-cells__title">编辑日期地点信息</div>
		       	    	<div class="weui-cells weui-cells_form _marginvertical weui-cell_access">	
					      <div class="weui-cell">
					        <div class="weui-cell__hd"><label class="weui-label">地点：</label></div>
					        <div class="weui-cell__bd">
					          <input class="weui-input weather_date" id="time_inline" type="text" placeholder="选择日期" readonly>
					        </div>
					        <div class="weui-cell__ft">
					         
					        </div>
					      </div>
					    </div>
					    <div class="weui-cells weui-cells_form _marginvertical">	
					      <div class="weui-cell">
					        <div class="weui-cell__hd"><label class="weui-label">地点：</label></div>
					      <!--  <div class="weui-cell__hd "></div>-->
					        <div class="weui-cell__bd">
					          <input class="weui-input" type="text" id="loacation" placeholder="请输入城市名：如 ：广州">
					        </div>
					        <div class="weui-cell__ft locationbtn">
					          <!--<img src="img/search_icon.png">-->
					          	<img src="img/location.png">
					        </div>	
					      </div>
					    </div>
					    
					    <div class="weui-cells search_group" style="display: none;">	
					      <div class="weui-cell">
					        <div class="weui-cell__bd search_wrapper">				        				        
					      		<ul></ul>
							</div>		
							
					      </div>
					    </div>
					    
		       	    </div>  
		       	    <div class="weather_error weui-cells__title"></div>
		       	   <div class="weather_btn">
		       	   		<a href="javascript:;" class="save_weather" >保存</a>
		       	   </div> 
		       	    
		      </div>
		</div><!--一图一记 编辑日期地点信息--end-- -->	
		
		
		
		
		
		
		<div class="editor_canvas _absolute hidden bgf8f8f8"><!--编辑作品 --star-- -->
			<div class="canvas_head"></div>
			<div class="canvasbox">
				<canvas id="reallycanvas" width="351" height="386"></canvas>
			</div>
			
			<div class="cavasbtn">
				<a href="javascript:;" id="roat_btn">旋转</a>		
				<a href="javascript:;" id="replace_btn">替换</a>		
			</div>
			<div class="workpage horizontal_scrolling _padding">
				<div class="pagemain boxflexTwo" id="editorpage">							
					<!--<div class="editoritem itemflex editoring">
						<img src="img/1.jpg" alt="">
						<div class="pagemask _absolute">正面</div>
					</div>	
					<div class="editoritem itemflex">
						<img src="img/1.jpg" alt="">
						<div class="pagemask _absolute hidden">反面</div>
					</div>	-->
					
				</div>
			</div>
			<div class="_footer weui-cells original_btn">
				<div class="weui-cell">
					 <div class="weui-cell__hd"></div>
					 <div class="weui-cell__bd">
					 	<a href="javascript:;" class="canace_change">取消</a>
						<a href="javascript:;" class="comfirm_change">保存</a>	
					 </div>
				</div>
			</div>
		</div><!--编辑作品 --end-- -->
		
		<div class="upload_imagecon _absolute hidden"><!--已上传的图片 --star-- -->
			<div class="upload_imagebox _padding">				
				 <div class="weui-uploader__input-box">
					 <input id="singerInput" class="weui-uploader__input" type="file" accept="image/*" multiple="" onchange="getchange(this)" onfunction="1">
				</div>
				<div class="imageList boxflexTwo">
					<!--<div class="image_item itemflex">
						<div class="img_src"><img src="img/1.jpg" /></div>						
						<div class="del_close"><i class="weui-icon-cancel"></i></div>
					</div>
					<div class="image_item itemflex">
						<div class="img_src"><img src="img/1.jpg" /></div>						
						<div class="del_close"><i class="weui-icon-cancel"></i></div>
					</div>
					<div class="image_item itemflex">
						<div class="img_src"><img src="img/1.jpg" /></div>						
						<div class="del_close"><i class="weui-icon-cancel"></i></div>
					</div>-->
				</div>
			</div>
			
		</div><!--已上传的图片 --end-- -->
		
		<div class="previewwork _absolute hidden bgf8f8f8"><!--已提交的作品展示--star-->
			<div class="canvas_head"><i class="weui-icon-info"></i>已印制的作品不可编辑</div>
			<div class="previewcon">
				<div id="previewPic"></div>
			</div>			
			<div class="workpage horizontal_scrolling _padding">
				<div class="previewmain boxflexthree displaywebkit-box" id="previewmain">
					
					
				</div>
			</div>
			<div class="_footer weui-cells preview_btn">
				<div class="weui-cell">
					 <div class="weui-cell__hd">					 	
					 		
					 </div>
					 <div class="weui-cell__bd">
					 	<a href="javascript:;" class="preview_share" style="display: none;">分享</a>
						<a href="javascript:;" class="back_to_work">返回</a>	
					 </div>
				</div>
			</div>		
		</div><!--已提交的作品展示--end-->
		
		<div class="submitalbum hidden"> <!--提交作品 --star-- -->
			<div class="submitalbumbox">
				<div class="submit_type">您准备提交的商品是：<span class="a_type">8寸简页</span>&nbsp;&nbsp;&nbsp;共<span class="a_type">40</span> 张</div>
				<div class="submit_infobox">	
					<h3 class="order_no">订单编号：</h3>
					<input type="text" placeholder="请输入商城订单编号" value="" class="orderinput" />	
					<div class="orderinputtips"></div>	
					<div class="submit_btn">
						<a class="comfirm_submit" href="javascript:;">确认</a>
						<a class="back_submit" href="javascript:;">返回</a>
					</div>
				</div>
				<div class="order_tips">
					<h3>提交流程</h3>
					<p>1.填写订单号</p>
					<p>2.系统校验订单中的商品规格是否和制作的商品规格一致</p>
					<p>3.当订单中简页购买数量是所勾选的2倍以上时，可选择制作份数</p>
					<p>4.点击确认提交</p>
				</div>
			</div>
			
			<div class="_submitbuy">
				<a class="comfirm_submit" href="https://h5.youzan.com/v2/goods/366k84934t5v1">还没购买，现在去买>></a>
			</div>
		</div> <!--提交作品 --end-- -->
		
	<form id="form">
        <input id="js-file" type="file" accept="image/*" style="display:none;"/>
    </form>
	<div id="map" style="display: none;"></div>
	</body>
</html>
<script type="text/javascript" src="plug-in/jquery-2.1.4.min.js" ></script>
<script type="text/javascript" src="plug-in/WEUI/js/fastclick.js" ></script>
<script>
  $(function() {
    FastClick.attach(document.body);
   /* $("#textarea_input").on("keyup",function(){	
    	 formate_unicode();
    })*/
    //document.getElementById("textarea_input").onpaste = function() { formate_unicode()};
  });
  
  function formate_unicode(obj){
  	//var pattern = /[^\u4E00-\u9FFF\w\，\。\？\！\～\、\：\＃\；\％\＊\——\……\＆\·\＄\（\）\‘\’\“\”\[\]\『\』\〔\〕\｛\｝\【\】\￥\￡\♀\‖\〖\〗\《\》\「\」 \.\~\@\-\,\:\*\?\!\_\#\/\=\+\﹉\&\^\;\%\…\$\(\)\\\\\.\<\>\|\·\¥\[\]\"\"\{\}\–\'\€]/g;
  	
  	var pattern = /[^\u4E00-\u9FFF\w\，\n\r\ \。\？\！\～\、\：\＃\；\％\＊\——\……\＆\·\＄\（\）\‘\’\“\”\[\]\『\』\〔\〕\｛\｝\【\】\￥\￡\♀\‖\〖\〗\《\》\「\」 \.\~\@\-\,\:\*\?\!\_\#\/\=\+\﹉\&\^\;\%\…\$\(\)\\\\\.\<\>\|\·\¥\[\]\"\"\{\}\–\'\€]/g;
  	
  	//var obj=document.getElementById("textarea_input");
  	
  	obj.value=obj.value.replace(pattern,'');
  	obj.value=$.trim(obj.value);
  }
</script>
<script type="text/javascript" src="plug-in/WEUI/js/jquery-weui.min.js" ></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" ></script>
<!--<script type="text/javascript" src="script/vconsole.min.js" ></script>-->
<script type="text/javascript" src="script/jquery.cookie.js" ></script>
<!--<script type="text/javascript" src="script/cookie.js" ></script>-->
<script type="text/javascript" src="script/web_utils.js?version=1.0" ></script>
<!--<script type="text/javascript" src="script/wexin_config.js" ></script>-->
<!--<script type="text/javascript" src="script/js_android_ios.js" ></script>-->
<script type="text/javascript" src="script/background.js?version=1.0" ></script>
<script type="text/javascript" src="script/layout.js?version=1.0" ></script>
<script type="text/javascript" src="script/map_position.js?version=1.0" ></script>
<script type="text/javascript" src="script/weather.js?version=1.0" ></script>
<script type="text/javascript" src="plug-in/LunarCalendar.js?version=1.0" ></script>
<script type="text/javascript" src="script/calendardata.js?version=1.0" ></script>
<script type="text/javascript" src="plug-in/cos/cos-js-sdk-v4.js"></script>
<script type="text/javascript" src="plug-in/cos/cos-img-upload.js?version=1.0"></script>
<script type="text/javascript" src="script/canvastextline.js?version=1.0" ></script>
<script type="text/javascript" src="script/loadimg.js?version=1.0" ></script>
<script type="text/javascript" src="script/album.js?version=1.0" ></script>
<script type="text/javascript" src="script/preview.js?version=1.0" ></script>
<script type="text/javascript" src="script/creatpage.js?version=1.0" ></script>
<script type="text/javascript" src="script/canvasdrag.js?version=1.0" ></script>
<!--<script type="text/javascript" src="script/wexin_share.js" ></script>-->
<script type="text/javascript" src="script/generate_picture.js?version=1.0" ></script>
<script type="text/javascript" src="script/historyback.js?version=1.0" ></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?69d9139660e095071274d6b928a4375b";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>